; Additional fixup for truncation of long lines in compilation buffers
authorPhil Sainty <psainty@orcon.net.nz>
Sat, 13 Apr 2024 12:49:56 +0000 (00:49 +1200)
committerPhil Sainty <psainty@orcon.net.nz>
Sat, 13 Apr 2024 13:00:05 +0000 (01:00 +1200)
commitf950621e6a177fc3110f3dec7c92b7d499fd25d6
tree381f62be5b561e1561c681838ed3b0ba4dd64422
parent66c44c3cd7b37712d5a923966f71a06bbf1fcdb8
; Additional fixup for truncation of long lines in compilation buffers

* lisp/progmodes/compile.el
(compilation--insert-abbreviated-line): Handle long lines that end
in a newline.  (Bug#70236)

The fix in commit 8f93cba324e4d4022a9422b8c56186213ba2de8d resulted in
the previous "Don't hide the final newline" code causing an off-by-one
error.  With the new code the value of point is what is wanted in both
cases.
lisp/progmodes/compile.el